<?php

/**
 * Description of Login
 *
 * @author DENY PRASETIA TW
 * http://denyprasetiatw.blogspot.com/
 * Created Feb 10, 2012 - 9:48:49 AM
 */

if($this->session->userdata('s_hakakses') != NULL){
    redirect();
}

?>

<div align="center">
    <h1>Login</h1>
    <?php echo form_open('Site/validasiLogIn'); ?>
    <table width="200" border="0" cellpadding="5">
      <tr>
        <td width="96"></td>
        <td width="8"></td>
        <td width="80"></td>
      </tr>
      <tr>
        <td>Nip</td>
        <td>:</td>
        <td><?php echo form_input('i_idpegawai').form_error('i_idpegawai'); ?></td>
      </tr>
      <tr>
        <td>Password</td>
        <td>:</td>
        <td><?php echo form_password('i_password').form_error('i_password'); ?></td>
      </tr>
      <tr>
        <td></td>
        <td></td>
        <td><?php echo form_submit('i_login', 'Login'); ?></td>
      </tr>
      <tr>
          <td></td>
          <td></td>
          <td></td>
      </tr>
    </table>
    <?php echo form_close(); ?>
</div>

